package com.example.demo.Eneity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.junit.platform.engine.TestExecutionResult;

/**
 * @ClassName Employee
 * @Description TODO
 * Author yangqinglin
 * @Date 2021/1/16 9:50
 * @Version
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    private  String name;
    private  Integer age;
    private double salary;
    private Status Status;

    public Employee(int age){
        this.age=age;
    }

    public enum  Status{
        FREE,
        BUSY,
        VOCATION
    }
}
